﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewForm.aspx.cs" 
Inherits="SisLegal.ExpedientLaborales.NewForm"  MasterPageFile="~/Site.Master" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <script type="text/javascript">
        $(document).ready(function () {
            $('#data_1 .input-group.date.col-sm-10').datepicker({
                todayBtn: "linked",
                keyboardNavigation: false,
                forceParse: false,
                calendarWeeks: true,
                autoclose: true
            });
        });
    </script>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        Nuevo Expediente Laboral</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="panel ">
                                <div class="panel-heading">
                                    <div class="panel-options">
                                        <ul class="nav nav-tabs">
                                            <li class="active"><a href="#tab-1" data-toggle="tab" aria-expanded="true">Identificación
                                                del Proceso</a></li>
                                            <li class=""><a href="#tab-2" data-toggle="tab" aria-expanded="false">Detalle del Proceso</a></li>
                                            <li class=""><a href="#tab-3" data-toggle="tab" aria-expanded="false">Personal a Cargo</a></li>                                           
                                        </ul>
                                    </div>
                                </div>
                                <div class="panel-body">
                                    <div class="tab-content">
                                        <div class="tab-pane active" id="tab-1">
                                            <div class="form-horizontal" role="form">
                                                <div class="form-group">
                                                    
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Nro de Expediente:</label>
                                                    <div class="col-sm-4">
                                                        <asp:TextBox ID="TextBox4" runat="server" class="form-control" placeholder="Nro de Expediente"></asp:TextBox>
                                                    </div>
                                                </div>                                               
                                                
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Juzgado/Sala:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox8" runat="server" class="form-control" placeholder="Juzgado/Sala"></asp:TextBox>
                                                    </div>
                                                    
                                                </div>
                                                <div class="form-group">
                                                <label class="control-label col-sm-2" for="txtNroExped" style="padding-top: 0px;">
                                                        Distrito Judicial Inicial:</label>
                                                    <div class="col-sm-4">
                                                        <asp:TextBox ID="TextBox2" runat="server" class="form-control" placeholder="Distrito Judicial Inicial"></asp:TextBox>
                                                    </div>
                                                    <label class="control-label col-sm-2" for="txtNroExped" style="padding-top: 0px;">
                                                        Distrito Judicial Actual:</label>
                                                    <div class="col-sm-4">
                                                        <asp:TextBox ID="TextBox3" runat="server" class="form-control" placeholder="Distrito Judicial Actual"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Demandante:</label>
                                                    <div class="col-sm-3">
                                                        <asp:TextBox ID="TextBox12" runat="server" class="form-control" placeholder="Demandante"></asp:TextBox>
                                                    </div>
                                                     <label class="control-label col-sm-1" for="txtNroExped">
                                                        Demandado:</label>
                                                    <div class="col-sm-3">
                                                        <asp:TextBox ID="TextBox19" runat="server" class="form-control" placeholder="Demandado"></asp:TextBox>
                                                    </div>
                                                    <label class="control-label col-sm-1" for="txtNroExped" style="padding-top: 0px;">
                                                        Participación Seal:</label>
                                                    <div class="col-sm-2">
                                                        <asp:DropDownList ID="DropDownList6" runat="server" class="form-control">
                                                            <asp:ListItem Text="Demandante" Value="1" Selected="true"></asp:ListItem>
                                                            <asp:ListItem Text="Demandado" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="Litisconsorte" Value="3"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                               
                                                <div class="form-group" id="data_1">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Fecha de Notificacion del procesos a Seal:</label>
                                                    <div class="input-group date col-sm-10"  style="padding-left: 15px; padding-right: 15px;">
                                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                                        <input type="text" class="form-control" value=""/>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Sumilla/Motivo y Origen del Proceso:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox16" runat="server" class="form-control" placeholder="Sumilla/Motivo y Origen del Proceso"
                                                            Rows="5" TextMode="multiline"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Observaciones:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox17" runat="server" class="form-control" placeholder="Observaciones"
                                                            Rows="5" TextMode="multiline"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="tab-pane" id="tab-2">
                                            <div class="form-horizontal" role="form">
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Fecha de Inicio:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox7" runat="server" class="form-control" placeholder="Fecha de Inicio"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Via Procedimental:</label>
                                                    <div class="col-sm-10">
                                                        <asp:DropDownList ID="DropDownList2" runat="server" class="form-control">
                                                            <asp:ListItem Text="Conocimiento" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="Abreviado" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="Sumarìsimo" Value="3"></asp:ListItem>
                                                            <asp:ListItem Text="Unico de Ejecucion" Value="4"></asp:ListItem>
                                                            <asp:ListItem Text="No contencioso" Value="5"></asp:ListItem>
                                                            <asp:ListItem Text="Otros" Value="5"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Etapa del Procesos:</label>
                                                    <div class="col-sm-10">
                                                        <asp:DropDownList ID="DropDownList1" runat="server" class="form-control">
                                                            <asp:ListItem Text="Postulatoria" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="Probatoria" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="Decisoria" Value="3"></asp:ListItem>
                                                            <asp:ListItem Text="Impugnatoria" Value="4"></asp:ListItem>
                                                            <asp:ListItem Text="Ejecutoria" Value="5"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Monto:</label>
                                                    <div class="col-sm-10">
                                                        <div class="form-group">
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                Nuevo Soles:</label>
                                                            <div class="col-sm-10">
                                                                <asp:TextBox ID="txtAmountSoles" runat="server" class="form-control" placeholder="Monto Nuevos Soles S/. "></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="form-group">
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                Dolares:</label>
                                                            <div class="col-sm-4">
                                                                <asp:TextBox ID="txtAmountDollar" runat="server" class="form-control" placeholder="Monto Dolares UD$"></asp:TextBox>
                                                            </div>
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                Tipo de Cambio:</label>
                                                            <div class="col-sm-4">
                                                                <asp:TextBox ID="txtTypeChange" runat="server" class="form-control" placeholder="Tipo de Cambio"
                                                                    OnTextChanged="txtTypeChange_TextChanged"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="form-group">
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                UIT:</label>
                                                            <div class="col-sm-4">
                                                                <asp:TextBox ID="TextBox23" runat="server" class="form-control" placeholder="Monto de UIT"></asp:TextBox>
                                                            </div>
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                Año:</label>
                                                            <div class="col-sm-4">
                                                                <asp:DropDownList ID="rrr" runat="server" class="form-control">
                                                                    <asp:ListItem Text="2015 - S/3850.00" Value="1" Selected="true"></asp:ListItem>
                                                                    <asp:ListItem Text="2014 - S/3800.00" Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text="2013 - S/3700.00" Value="3"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="form-group">
                                                            <label class="control-label col-sm-2" for="txtNroExped">
                                                                URP:</label>
                                                            <div class="col-sm-4">
                                                                <asp:TextBox ID="TextBox24" runat="server" class="form-control" placeholder="Monto"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Costas y Costos:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox10" runat="server" class="form-control" placeholder="Costas y Costo"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Especialista:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox11" runat="server" class="form-control" placeholder="Especialistas"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Calificacion de Contingencias:</label>
                                                    <div class="col-sm-10">
                                                        <asp:DropDownList ID="DDL_Contingency_Rate" runat="server" class="form-control">                                                            
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="tab-pane" id="tab-3">
                                            <div class="form-horizontal" role="form">
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Abogado Asignado:</label>
                                                    <div class="col-sm-10">
                                                        <asp:DropDownList ID="DropDownList8" runat="server" class="form-control">
                                                            <asp:ListItem Text="Externo" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="Gerencia Legal" Value="2"></asp:ListItem>
                                                            
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Estudio Juridico y/o Abogado Asignado:</label>
                                                    <div class="col-sm-10">
                                                        <asp:DropDownList ID="DropDownList9" runat="server" class="form-control">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Orden de Servicio:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox1" runat="server" class="form-control" placeholder="Persona Asiganda"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Nro de Recibo o Factura:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox113" runat="server" class="form-control" placeholder="Persona Asiganda"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Terminos de referencia:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox30" runat="server" class="form-control" placeholder="Persona Asiganda"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <!--<div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Persona Asiganda Direccion y Telefono:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox13" runat="server" class="form-control" placeholder="Persona Asiganda Direccion y Telefono"></asp:TextBox>
                                                    </div>
                                                </div>-->
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Abogado Asignado de Seal:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox5" runat="server" class="form-control" placeholder="Abogado Asignado"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="control-label col-sm-2" for="txtNroExped">
                                                        Ubicacion Fisica:</label>
                                                    <div class="col-sm-10">
                                                        <asp:TextBox ID="TextBox6" runat="server" class="form-control" placeholder="Ubicacion Fisica"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>                                        
                                        <div class="form-horizontal" role="form">
                                            <div class="form-group">
                                                <div class="col-sm-offset-2 col-sm-10">
                                                    <asp:Button ID="btnSave" runat="server" Text="Grabar" OnClick="btnSave_Click" class="btn btn-primary" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
